projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ecad8
)
file chooser: Make sure places view type is known
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 1 Sep 2015 05:00:46 +0000
(
01:00
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 1 Sep 2015 05:00:46 +0000
(
01:00
-0400)
Similar to how we handle GtkPathBar, make sure that the
type for GtkPlacesView is registered before we load the
template.
https://bugzilla.gnome.org//show_bug.cgi?id=754133
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index bc28283e052e72e435f7efb090f61cfc3f33c277..8c25741bb9b2b922c17a5158f67a3dd36ec904c4 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-8571,6
+8571,8
@@
gtk_file_chooser_widget_init (GtkFileChooserWidget *impl)
* definition before calling gtk_widget_init_template()
*/
g_type_ensure (GTK_TYPE_PATH_BAR);
+ g_type_ensure (GTK_TYPE_PLACES_VIEW);
+
gtk_widget_init_template (GTK_WIDGET (impl));
gtk_widget_set_size_request (priv->browse_files_tree_view, 280, -1);